<template>
    <div>
        <h1>{{msg}}</h1>
    </div>
</template>

<script>
    import services from '../services/services'

    export default{
        data(){
            return {
                msg: 'demos1'
            }
        },
        ready(){

            //发起一个http请求
            services.guandong.get({
                time: Date.now()
            }).then(res => {
                console.log(res)
            })

        },
        components: {}
    }
</script>
<style type="text/css">

</style>